<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <title>id选择器</title>
    <style>
        #red {
            color: red;
        }
        
        #blue {
            color: blue;
        }
    </style>

</head>

<body>
    <h1 id="red">你给我的giaogiao</h1>
    <h2 id="blue">给我开炮</h2>
</body>

</html>